<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>
<link href="themes01/default/clientPublic.css" rel="stylesheet" type="text/css"/>
<link href="themes01/default/codeMgr.css" rel="stylesheet" type="text/css"/>
<link href="themes01/default/tabSwitch.css" rel="stylesheet" type="text/css"/>
<link rel="stylesheet" type="text/css" href="themes01/default/pstyle.css">
<script type="text/javascript" src="javascripts01/jquery.js"></script>
<script type="text/javascript" src="javascripts01/common.js"></script>
<script language="javascript" type="text/javascript" src="DatePicker/WdatePicker.js"></script>
<title>Office 515158 2011 OA办公系统</title>
 
</head>
<body>
<div id="Holder">
<div id="MainPage">

 
 
<div id="Subnav">
 
<ul>
<?php
$nums=19;
global $db;
$query = $db->query("SELECT * FROM ".DB_TABLEPRE."menu where fatherid='3' and menutype='0' ORDER BY menunum Asc");
	while ($row = $db->fetch_array($query)) {
?>
<li><a href="<?=$row[menuurl]?>"  <? if($nums==$row[menuid]){?> id="Subnavb"<? }?>><?=$row[menuname]?></a></li>
<?php
	}
?>


</ul>
</div>
<form name="save" method="post" action="?ac=edit&do=save&fileurl=registration">
	<input type="hidden" name="savetype" value="edit" />
	<input type="hidden" name="id" value="<?=$registration['id']?>" />
	<input type="hidden" name="starthour" value="<?=get_date('H',PHP_TIME);?>" />
	<input type="hidden" name="starthour1" value="<?=get_date('i',PHP_TIME);?>" />
	<input type="hidden" name="datetype" value="<?=$datetype;?>" />
<table class="TableTop" width="90%">
   <tr>
      <td class="left"></td>
      <td class="center">下班考勤登记</td>
      <td class="right"></td>
   </tr>
</table>
 <table class="TableBlock no-top-border" width="90%">
    <tr>
      <td nowrap class="TableData" width="15%"> 正常工作时间：</td>
      <td class="TableData">
        <?=GET_INC_CONFIG_INFO("swork");?>点-<?=GET_INC_CONFIG_INFO("ework");?>点</td>
    </tr>
    <tr>
      <td nowrap class="TableData"> 下班时间：</td>
      <td class="TableData">
   <input name="enddate000" type="text" class="input" id="enddate000" size="20" value="<?=$webenddate;?>"/>
								<input type="hidden" name="enddate" value="<?=$webenddate;?>" />
      </td>
    </tr>
    <tr>
      <td nowrap class="TableData">备注：</td>
      <td class="TableData"><textarea name="endnote" cols="40" rows="4" class="input" id="endnote"></textarea>
      </td>
    </tr>
   
 
    <tr align="center" class="TableControl">
      <td colspan="2" nowrap height="35">
	  <?php
		if ($dateetype==1)
		{
		?><a href="admin.php?ac=index&fileurl=registration" style="color:#FF0000;">返回考勤列表</a> 
		<input type="submit" class="BigButton" value="下班己打卡，请不要重新打卡" disabled="disabled"/>
		
		<?php
		}
		else{
		 ?>
		<input type="submit" name="Submit" value="保存" class="BigButton"> 
		 <?php
		 }
		 ?>
	  
	  
	  
        
      </td>
    </tr>
  </table>
</form>
</div>
</div>
 
<script language="javascript" src="javascripts01/tangram-1.3.1.js" type="text/javascript"></script>
<script language="javascript" src="javascripts01/elf.js" type="text/javascript"></script>
<script language="javascript" src="javascripts01/union.js" type="text/javascript"></script>
<script language="javascript" src="javascripts01/codeMgr.js" type="text/javascript"></script>
 
</body>
</html>
